//
//  ShopUserItem.m
//  CarTown
//
//  Created by xionghao on 15/9/10.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "ShopUserItem.h"
#import <MJExtension.h>
#import "CarDetailmodel.h"
#import "ComSonItemMode.h"
@implementation ShopUserItem
+(instancetype)shopwithDict:(NSDictionary *)dict{
    [CarDetailmodel setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                 @"ID" : @"id"
                };
    }];
    [ShopUserItem setupObjectClassInArray:^NSDictionary *{
        return @{
                 @"my_car" : @"CarDetailmodel",
                 @"son_u":@"ComSonItemMode"
                 // @"statuses" : [Status class],
                 // @"ads" : [Ad class]
                 };
    }];
    
    ShopUserItem *item=[ShopUserItem objectWithKeyValues:dict];
    
    return item;
  
}
@end
